import Mock from 'mockjs/dist/mock'

Mock.mock('https://10.10.52.234:81/', 'get', function () {
  return Mock.mock({
    'data|10-20': [
      {
        prodImg: '@image("3remX2rem","@color","@name",3)',
        prodDesc: '@csentence(15,30)',
        prodTag: '@float(100,1000,0,2)',
        isSelf: '@boolean',
        prodCommentCounts: '@integer(100,1000)',
        prodNiceRate: '@float(0,1,0,2)',
        phrase: '@csentence(4,5)',
        time: '@time'
      }
    ]
  })
})
